package com.heyue.ems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.heyue.common.core.annotation.Excel;
import com.heyue.common.core.web.domain.BaseEntity;

/**
 * 公司详情（系统）对象 company
 * 
 * @author WCHU
 * @date 2021-07-26
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司注册地址 */
    @Excel(name = "公司注册地址")
    private String companyAddress;

    /** 公司法人编号 */
    @Excel(name = "公司法人编号")
    private Long companyLegalpersonUserId;

    /** 公司与平台签订的合同的存储地址 */
    @Excel(name = "公司与平台签订的合同的存储地址")
    private String transportContract;

    /** 公司联系人编号 */
    @Excel(name = "公司联系人编号")
    private Long contactsUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setCompanyLegalpersonUserId(Long companyLegalpersonUserId) 
    {
        this.companyLegalpersonUserId = companyLegalpersonUserId;
    }

    public Long getCompanyLegalpersonUserId() 
    {
        return companyLegalpersonUserId;
    }
    public void setTransportContract(String transportContract) 
    {
        this.transportContract = transportContract;
    }

    public String getTransportContract() 
    {
        return transportContract;
    }
    public void setContactsUserId(Long contactsUserId) 
    {
        this.contactsUserId = contactsUserId;
    }

    public Long getContactsUserId() 
    {
        return contactsUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyAddress", getCompanyAddress())
            .append("companyLegalpersonUserId", getCompanyLegalpersonUserId())
            .append("transportContract", getTransportContract())
            .append("contactsUserId", getContactsUserId())
            .toString();
    }
}
